home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / T / TC Prog Guide.cpt / picture ƒ / backdrop.c < prev    next >
Text File  |  1990-11-07  |  747b  |  26 lines

  1. /*
  2. *    FILE:        backdrop.c
  3. *    AUTHOR:        R. Gonzalez
  4. *    CREATED:    November 7, 1990
  5. *
  6. *    methods for backdrop projector class, which blacks out screen.
  7. */
  8.  
  9. # include    "backdrop.h"
  10.  
  11. /******************************************************************
  12. *    Set projection frame to fill screen, then call inherited.
  13. *    Can't do this in init() since we don't know screen_ptr yet
  14. *    at that point.
  15. ******************************************************************/
  16. void    Backdrop_Projector::set_screen(Screen* screen_ptr_val)
  17. {
  18.     set_projection_frame(screen_ptr_val->normalized_frame->x,
  19.                         screen_ptr_val->normalized_frame->y,
  20.                         screen_ptr_val->normalized_frame->width,
  21.                         screen_ptr_val->normalized_frame->height);
  22.  
  23.     Projector::set_screen(screen_ptr_val);
  24. }
  25.  
  26.